package com.xmy.cultivate.excel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class StudentExcel {
    @ExcelIgnore
    private Long id;

    @ExcelIgnore
    private Long gradeId;

    @ExcelProperty(index = 0, value = "班级名称")
    private String gradeStr;

    @ExcelProperty(index = 1, value = "学员姓名")
    private String name;

    @ExcelProperty(index = 2, value = "总课次")
    private Integer allCourseCount;

    @ExcelProperty(index = 3, value = "已用课次")
    private Integer useCourseCount;

    @ExcelProperty(index = 4, value = "剩余课次")
    private Integer residueCourseCount;

    @ExcelProperty(index = 5, value = "到课数量")
    private Integer arriveCount;

    @ExcelProperty(index = 6, value = "请假数量")
    private Integer repairCount;

}
